package ca.cbc.msb.enums;

import ca.cbc.msb.util.AppConfig;
/**
 * Defines acceptable <code>String</code> value for name of message queues.
 * @author William Wei
 *
 */
public enum QueueEnum {
	
	NewReleaseQueue,
	DeleteReleaseQueue,
	ChangeMediaQueue,
	ChangeNotificationQueue,
	DeleteNotificationQueue,
	ReleaseNotificationQueue,
	YospaceVerificationQueue,
    YospaceFailed,
    GeneralFailed;


    public int getCount() {
         return Integer.parseInt(AppConfig.getProperty(this.name()+".count"));
    }
}
